<template>
  <div id="app">
      <!-- 头部组件 -->
    <Header></Header>
    <!-- 搜索框 -->
    <Search></Search>
    <!-- 导航列表 -->
    <!-- <navlist></navlist> -->
    <router-view/>
    <!-- 导入底部组件 -->
    <Footernav></Footernav>
  </div>
</template>

<script>

// 导入头部
import Header from "./components/header/Header"
//导入搜索框
import Search from "./components/search/Search"
//导入导航列表
import navlist from './components/navlist/Navlist'
// 导入底部组件
import Footernav from './components/footer/Footernav'
export default {
  name: 'App',
  components:{Header,Search,navlist,Footernav}
}
</script>
<style>
*{
  margin: 0;
  padding: 0;
}
#app{
    width: 100%;
    min-width: 320px;
    max-width: 750px;
}
</style>